<?php
/*
 * 2.php 的作用在于 当单片机接收到 配置信息并配置完成以后,访问这个界面,可以将操作码至0
 * */
require "lianjie.php";
require "database.php";
$mac = $_GET['b'];  //mac地址
$cao = $_GET['a']; //操作码
$con = lianjieshujuku($servername,$name,$passwd);
if($cao==1)
{

    fanhuipeizhi2($con,$mac);
}
else
{
    changeop($con,$mac);
}
